home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Message-ID: <xYYsEMD444aRz1@_dago.blackbox.shnet.org>
- From: DAGOBERT@BLACKBOX.shnet.org (Oliver )
- Path: blackbox.shnet.org!DAGOBERT
- Subject: Questions about input device
- Date: Tue, 02 Apr 1996 19:16:04 +0200
- X-Mailer: MicroDot 1.10 [REGISTERED 000444]
- X-Gateway: ZCONNECT US genepi.shnet.org [UNIX/Connect v0.71]
- MIME-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
-
- Hello !
-
- I got 3 questions connected to the input device:
-
- If one is setting up an input handler by means of the input device,
- and if one is then feeding input events into the input stream using the
- IND_WRITEEVENT command, how is it possible to find out when the
- memory connected to one of the fed in events can savely be reused or
- freed ? If one sends messages, it's clear because one only has to
- wait until the message is replied, but how does this work with
- input events ? Or is the input device actually copying the events
- so that, after I sent an events with DoIO(), I can reuse the
- memory immediately ?
-
- And: Is it save to remove an input handler that has
- been installed with IND_ADDHANDLER at any time, or is it necessary
- to do some cleaning up (like using CMD_CLEAR) first ?
-
- And the last thing is: Can several input events actually be connected
- by the ie_NextEvent field of the input event structure ? That is, is
- it necessary to check, if one receives an input event, if there are
- more events connected to it, so not to miss an event ? Or does this
- field has some other meaning ?
-
- Thanks a lot for help - Oliver.
-